home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / filesyst / ncpfs / mars_dos.000 / mars_dos / netpc / doc < prev    next >
Encoding:
Text File  |  1996-05-21  |  2.1 KB  |  94 lines

  1. /* DOC for NET.EXE */
  2. /* last updated: 21-May-96 */
  3. This is a short description of net.exe which is a simple DOS-client
  4. program to allow standard NCP network actions, mainly for mars_nwe.
  5. All functions are called as a second parameter, or if the program
  6. is renamed to a guilty function like login.exe then the function
  7. will be the progname. This is very usefull for login.exe.
  8.  
  9. This program is very incomplete till now, but some functions
  10. works well with mars_nwe.
  11.  
  12.  
  13. LOGIN:
  14. usage: LOGIN [-u] [user | user password]
  15. -u = use unencrypted password.
  16. With this function you can log into a NCP Server.
  17. If there exists a 'login' file in the same directory as
  18. net.exe resides then this file will be interpreted as a
  19. command file. You also can use command files with
  20. the PROFILE command.
  21. It is usefull to copy (or do a Linux link) net.exe to login.exe.
  22.  
  23. example for a 'login' script (resides in same directory as net.exe)
  24.  
  25. map     f:=SYS:
  26. map     h:=home:
  27. map     z:=SYS:PUBLIC
  28. path    s16:=z:.
  29. capture lpt1 q1
  30. profile h:\profile      # will call users home 'profile'
  31.  
  32. if not exist h:\profile.bat goto :end
  33.  
  34.  
  35. PROFILE:
  36. usage: PROFILE filename
  37. With this function you are able to run a command script.
  38. In this command script you can use every net.exe command.
  39.  
  40. SPAWN:
  41. With SPAWN you can start external programs.
  42.  
  43. PASSWD:
  44. usage: PASSWD [user]
  45. With this function you are able to change a users password.
  46. This call uses the old unencryted change password call !!
  47.  
  48. PATH:
  49. usage: PATH sn:[=[path]]
  50.        sn = 's1' .. 's16'
  51.  
  52. With this function a new path element can be created.
  53. Its only sets the path environment !
  54.  
  55. PATHINS:
  56. usage: PATHINS sn:[=[path]]
  57.        sn = 's1' .. 's16'
  58. like PATH, but inserts PATH, not overwrites.
  59.  
  60. PATHDEL:
  61. usage: PATHDEL sn:
  62.        sn = 's1' .. 's16'
  63. deletes PATH element
  64.  
  65. MAP:
  66. usage: MAP [d:[=[path]]]
  67.        d = 'A' .. 'Z'
  68. Maps a drive to a volume or volume/path.
  69.  
  70.  
  71. MAPDEL:
  72. usage: MAPDEL d:
  73.        d = 'A' .. 'Z'
  74. Removes a map.
  75.  
  76.  
  77. LOGOUT:
  78. Logout from a NCP Server.
  79.  
  80. DEBUG:
  81. For setting debug flag in mars_nwe processes.
  82. If you want to use this, you must set
  83. mars_nwe/config.h: FUNC_17_02_IS_DEBUG to '1'
  84.  
  85.  
  86. SPAWN:
  87. EXEC:
  88. external program execution spawning or overlayed.
  89.  
  90.  
  91.  
  92.  
  93.  
  94.